import Dom from 'react-dom';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';
import App from './App';
import { Provider } from 'react-redux';
import store from './redux/store';

import 'antd/dist/antd.css';

moment.locale('zh-cn');

Dom.render(
    <ConfigProvider locale={zhCN}>
        <Provider store={store}><App /></Provider>
    </ConfigProvider>, document.getElementById('root')
);